html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    background: #fff;
    color: #993300;
    font: 12px verdana, arial, helvetica, sans-serif;
}
#grailsLogo {
	padding:20px;
}

a:link, a:visited, a:hover {
    color: #993300; 
	font-weight: bold;
    text-decoration: none;
}

h1 {
    color: #5D2103;
    font-weight: bold;
    font-size: 16px;
    margin: 6px 10px; 
}

h2 {
    color: #5D2103;
    font-weight: bold;
    font-size: 12px;
	margin: 8px 10px 0 30px; 
}

ul {
    padding-left: 15px;
}

input, select, textarea {
	background:url(../images/skin/form.gif) repeat-x scroll 0 -162px #FFFFFF;
	font: 12px verdana, arial, helvetica, sans-serif;
	border-color:#7C7C7C #C3C3C3 #C3C3C3 #9A9A9A;
	border-right:1px solid #C3C3C3;
	border-style:solid;
	border-width:1px;
	height:auto;
	min-height:19px;
	height:22px;
	padding:1px 1px 0;
	width: 80%;
}
select {
   padding: 2px 2px 2px 0;
   width: 220px;
}
textarea { 
	height: 150px;
	vertical-align: top;
}
input.radio ,input.checkbox{
	width:auto;
}
select.select{
	width:auto;
}


.body {
    float: left;
    margin: 0;
	width: 100%;
}

/* NAVIGATION MENU */

.nav {
    background-color: #FFD493;
    border-bottom: 1px solid #FFAC30;
    border-style: solid none;
    margin-top: 5px;
    padding: 7px 12px;
}

.menuButton {
    font-size: 12px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
	display: none;  
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #FFF2DE url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #FFAC30;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}

/* TABLES */

table {
    width: 100%
}
tr {
    border: 0;
}
td, th {
    font: 12px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
}
th {
    background: #F2F4F6;
    font-size: 12px;
    line-height: 17px;
    padding: 2px 6px;
	border-bottom: 1px solid #C1C8D2;
	border-top: 1px solid #fff;
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 12px;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}
 
.list td { 
	border-top: 1px solid #E3E6EB;
}
/* LIST */

.list table {
    border-collapse: collapse;
}
.list th {
    border-right: 1px solid #C1C8D2;
    margin-right: 1px solid #fff;
}
.list th:hover, .list tr:hover {
 
}

/* PAGINATION */

.paginateButtons {
	 
    border-top: 1px solid #FFAC30;
	background: #FFD493; 
    font-size: 12px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #A5D9F0 #6FBCE2 #6FBCE2 #A5D9F0;
 
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
	background:#FFF2DE;
	border-top: 1px solid #fff;
}
 
.prop {
    padding: 5px;
}
.prop .name {
	line-height: 25px;
    text-align: right;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
	background: #FFD493;
 
    border-top: 1px solid #FFAC30;
    font-size: 12px;
    overflow: hidden;
    padding: 5px 1px;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
	width:auto;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}
 
/* CUSTOM STYLE   */
.panel  {
	margin:0px;
}

.panel .panelBody {
	margin:0px;
	padding:15px;
	border: 1px solid #FFAC30;
	border-top: 0;
	text-align: left;
}

.panel .panelTop {
	height:30px;
	margin:0px;
	background: #FFF2DE;
	border: 1px solid #FFAC30;
}
.mypanel{ 
	text-align: left;
}	 
td.operate{
	width: 10px;
}
div.operate{
	display: none;
	position: absolute;
	background: #A5D9F0;
	padding: 6px ;
	 
	border: 1px solid #6FBCE2;
}
div.operate .shut{
	float: left;
	padding: 0 5px ;
}

#tooltip { 
    display:none; 
    background:transparent url(../images/skin/black_arrow.png) no-repeat; 
    font-size:12px; 
    height:70px; 
    width:160px; 
    padding:25px; 
    color:#fff;     
}
#tooltip.bottom { 
    background:transparent url(../images/skin/black_arrow_bottom.png) no-repeat; 
	padding-top: 35px;
}
.uploadButton{
	 
}
/*  SCHOOL STATUS */
.running {
    background: #E0FFE5;
}
.stop {
    background: #F2F2F2;
}
.remind {
    background: #FFE0E3;
}

.filename{
	background:url(../images/skin/attach.png) no-repeat  10px 3px;
	padding-left: 30px;
	line-height: 150%;
	font-size: 12px;
}